a = document.getElementById('comments');
if(a) {
	b = a.getElementsByTagName("DD");
	for(i=0; i < b.length; i++) {
            if (b.item(i).getAttribute('CLASS') == 'comment-body') {
    _str = b.item(i).innerHTML.replace(/:a1/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-76.gif' alt='lalala' width='50' class='smiley'/>");
                _str = _str.replace(/:a2/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-34.gif' alt='oii' width='50' class='smiley'/>");
                _str = _str.replace(/:a3/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-51.gif' alt='arrgh' width='50' class='smiley'/>");
                _str = _str.replace(/:a4/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-106.gif' alt='top' width='50' class='smiley'/>");
                _str = _str.replace(/:a5/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-104.gif' alt=''sayangku' width='50' class='smiley'/>");
                _str = _str.replace(/:a6/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-103.gif' alt='kaget' width='50' class='smiley'/>");
                _str = _str.replace(/:a7/gi, "<img src='http://forum.indowebster.com/images/smilies/th_101_.gif' alt='nangis' width='50'  class='smiley'/>");
                _str = _str.replace(/:a8/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-64.gif' alt='Shock' width='50'  class='smiley'/>");
                _str = _str.replace(/:a9/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-73.gif' alt='lol'width='50'  class='smiley'/>");
                _str = _str.replace(/:a9/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-73.gif' alt='lol'width='50'  class='smiley'/>");

                b.item(i).innerHTML = _str;
            }
	}
}

a = document.getElementById('comments');
if(a) {
	c = a.getElementsByTagName("DD");
	for(i=0; i < c.length; i++) {
            if (c.item(i).getAttribute('CLASS') == 'comment-body-author') {
    _str = b.item(i).innerHTML.replace(/:k1/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-76.gif' alt='lalala' width='50' class='smiley'/>");
                _str = _str.replace(/:a2/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-34.gif' alt='oii' width='50' class='smiley'/>");
                _str = _str.replace(/:a3/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-51.gif' alt='arrgh' width='50' class='smiley'/>");
                _str = _str.replace(/:a4/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-106.gif' alt='top' width='50' class='smiley'/>");
                _str = _str.replace(/:a5/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-104.gif' alt=''sayangku' width='50' class='smiley'/>");
                _str = _str.replace(/:a6/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-103.gif' alt='kaget' width='50' class='smiley'/>");
                _str = _str.replace(/:a7/gi, "<img src='http://forum.indowebster.com/images/smilies/th_101_.gif' alt='nangis' width='50'  class='smiley'/>");
                _str = _str.replace(/:a8/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-64.gif' alt='Shock' width='50'  class='smiley'/>");
                _str = _str.replace(/:a9/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-73.gif' alt='lol'width='50'  class='smiley'/>");
                _str = _str.replace(/:a9/gi, "<img src='http://forum.indowebster.com/images/smilies/onion-73.gif' alt='lol'width='50'  class='smiley'/>");
                c.item(i).innerHTML = _str;
            }
	}
}
